package cn.itcast.mapper;

import cn.itcast.domain.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select * from user where name like concat('%',#{username},'%') order by search_count desc limit 0,4")
     List<User> findLike(String username);
}
